<%--
  Created by IntelliJ IDEA.
  User: JMin
  Date: 2024/4/28
  Time: 15:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>梯形面积计算</title>
</head>
<body>
<h2>计算梯形面积</h2>
<form action="calculateArea.jsp" method="POST">
    <label for="upperBase">上底:</label><br>
    <input type="number" id="upperBase" name="upperBase" required><br>
    <label for="lowerBase">下底:</label><br>
    <input type="number" id="lowerBase" name="lowerBase" required><br>
    <label for="height">高:</label><br>
    <input type="number" id="height" name="height" required><br><br>
    <input type="submit" value="计算面积">
</form>
</body>
</html>
